/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */

package cn.webrx;

/**
 * <p>Project: jse2303 - SellTicket</p>
 * <p>Powered by webrx On 2023-07-26 15:25:31</p>
 * <p>描述：<p>
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class SellTicket {
    public static void main(String[] args) {
        Ticket t = new Ticket(33);

        Thread t1 = new Thread(t, "东风路");
        Thread t2 = new Thread(t, "文化路");
        Thread t3 = new Thread(t, "科学大道");
        Thread t4 = new Thread(t, "瑞达路");
        Thread t5 = new Thread(t, "火车站");

        t1.start();
        t2.start();
        t3.start();
        t4.start();
        t5.start();
    }
}
